home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / make / icmake-6.000 / icmake-6 / icmake / rss / copyrigh.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-08  |  1.3 KB  |  49 lines

  1. /*                       C O P Y R I G H . C
  2.     ported to non-MSDOS systems pwp 93 07 15
  3.  
  4.     % 1 name
  5. \functoc {copyright}
  6.     % 2 declaration
  7. {void \fname (\params\ )}
  8.     % 3 arguments
  9. {
  10.     {char *}{function}     {function of the program}
  11.     {char *}{version}      {version of the program}
  12.     {char *}{years}        {string of years of the copyright notice}
  13.     {int}   {distribution} {distribution type}
  14. }
  15.     % 4 return value
  16. {}
  17.     % 5 functions used
  18. {}
  19.     % 6 see also
  20. {}
  21.     % 7 source file
  22. {copyrigh.c}
  23.     % 8 description
  24. {The function displays (to the standard output file) an {\sc icce} copyright
  25. notice of the indicated program, using the standard {\sc icce} layout. The
  26. distribution type is either restricted (value \Define{0}), in which case the
  27. {\em Internal use only\,} string is used, or is not \Define{0}, in which case
  28. the {\em All rights reserved\,} string is used.
  29. }
  30. */
  31. #ifndef MSDOS
  32.  
  33. #include <stdio.h>
  34. #include "icrss.h"
  35.  
  36. void copyright(char *function, char *version, char *years, int distribution)
  37. {
  38.     printf("\n"
  39.            "ICCE %s  Version %s\n"
  40.            "Copyright (c) ICCE %s. %s.\n"
  41.            "\n",
  42.            function, version, years,
  43.            distribution ?
  44.                 "All rights reserved"
  45.             :
  46.                 "Internal use only");
  47. }
  48. #endif
  49.